//
//  OpenLoginManager.m
//  CaiPiao
//
//  Created by l wb on 2018/5/21.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "OpenLoginManager.h"
#import "LoginController.h"
@implementation OpenLoginManager
+(BOOL)openLoginPageWithController:(UIViewController *)controller{
    if (kUserID) {
        return NO;
    }else{
        LoginController *loginVC = [[UIStoryboard storyboardWithName:@"LoginStoryboard" bundle:nil] instantiateViewControllerWithIdentifier:@"LoginController"];
        [controller.navigationController pushViewController:loginVC animated:YES];
        return YES;
    }
    

}
@end
